package com.wanmait.recycle.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.wanmait.recycle.mapper.CityMapper;
import com.wanmait.recycle.pojo.City;
import com.wanmait.recycle.service.CityService;
import com.wanmait.recycle.util.Pager;

@Service
@Transactional
public class CityServiceImpl implements CityService {

	@Resource 
	private CityMapper cityMapper;
	
	@Override
	public void insert(City object) {
		// TODO Auto-generated method stub

	}

	@Override
	public void update(City object) {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete(Integer id) {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete(String ids) {
		// TODO Auto-generated method stub

	}

	@Override
	public City findById(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<City> findAll() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int getDataCount() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<City> findAll(Pager pager) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<City> findAll(City object) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int getDataCount(City object) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<City> findAll(Pager pager, City object) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<City> findAllByProvinceId(Integer provinceId) {
		
		return cityMapper.findAllByProvinceId(provinceId);
	}

}
